
import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/Index.vue'
import Login from '@/views/Login.vue'

Vue.use(Router)
export default new Router({
  mode:'history',
  // h5
  routes:[{
    path: '/',
    name: 'index',
    component: Index,
    meta: {
      title: '首页',
    }
  }]


  
})
